package com.yyb.config;

import com.qiniu.storage.Region;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 *  七牛云配置类
 * 
 * 
 *
 */
@Data
@Component
@ConfigurationProperties(prefix = "qiniu")
public class QiniuProperties {

    // 七牛云区域
    private Region region=Region.huanan();

    // 七牛云AccessKey
    private String ak;

    // 七牛云SecretKey
    private String sk;

    // 七牛云存储空间名
    private String bucket;

    // 七牛云存储空间URL
    private String url;

}
